/**
 * Created by fandongyang on 2017/7/26.
 */
import React, {Component} from 'react';
import {Dimensions, View, Text, StyleSheet} from 'react-native' ;
import Icon from 'react-native-vector-icons/MaterialIcons';

const {width, height} = Dimensions.get('window');

class Index extends Component {
    // 默认属性
    static defaultProps = {};

    // 属性类型
    static propTypes = {};

    // 构造
    constructor(props) {
        super(props);
        // 初始状态
        this.state = {};
    }

    // 自定义方法
    handle() {

    }

    // 渲染
    render() {

        return (
            <View style={styles.defaultView}>
                <View style={{
                    flexDirection: "row",
                    justifyContent: "space-between",
                    backgroundColor: "#2E353D",
                    height: 50,
                    alignItems: 'center',
                    paddingHorizontal: 20,
                    paddingTop: 0
                }}>
                    <Icon name="person" size={25}
                          color='transparent'/>
                    <Text style={{color: 'white', fontSize: FONT_SIZE(20)}}>发布</Text>
                    <Icon name="search" size={25}
                          color='white'/>

                </View>

            </View>
        )

    }

}

let styles = StyleSheet.create({
    defaultView: {
        flex: 1
    }
})

export default Index;
